<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>

  <style>
    table {
      width: 800px;
      text-align: center;
      margin-top: 10px;
    }

    #input,
    #input1,
    #input2 {
      width: 150px;
      outline: none;
    }

    a {
      text-decoration: none;
    }
  </style>
</head>

<body>
  姓名：<input type="text" id="input">
  年龄：<input type="text" id="input2">
  <input type="button" value="添加" id="btn1">
  <br>
  姓名：<input type="text" id="input1">
  <input type="button" value="搜索" id="btn">
  <table id="tab1" border="1">
    <thead>
      <tr>
        <td>序号</td>
        <td>姓名</td>
        <td>年龄</td>
        <td>操作</td>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td>1</td>
        <td>张三</td>
        <td>21</td>
        <td></td>
      </tr>
      <tr>
        <td>2</td>
        <td>李四</td>
        <td>20</td>
        <td></td>

      </tr>
      <tr>
        <td>3</td>
        <td>刘三</td>
        <td>23</td>
        <td></td>
      </tr>
      <tr>
        <td>4</td>
        <td>abc</td>
        <td>25</td>
        <td></td>
      </tr>
    </tbody>
  </table>


  <script src="./index.js"></script>
</body>

</html>